using GoodDotNet.IService;
using GoodDotNet.Core.Entity;
using GoodDotNet.Core.Model;
using GoodDotNet.Core.Data;

namespace GoodDotNet.Service
{
  
  /**
   *
   * @author 大钊
   * @since 2023/9/17 10:42:45
   */
    public class UserLogService :UserLogIService
    {
      UnitOfWork _unitOfWork;
      public UserLogService(UnitOfWork unitOfWork)
      {
        _unitOfWork = unitOfWork;
      }
    
		
		/// <summary>
		/// 
		/// </summary>
		/// <returns></returns>
		public List<UserLogGetPageDataModel> GetPage(UserLogGetPageParModel pars)
		{
		  
		  var list=_unitOfWork.UserLogRepository.GetPage();
		  
		  return list;
		
		}
		
		


		
		/// <summary>
		/// 
		/// </summary>
		/// <returns></returns>
		public List<UserLogGetPageUserDataModel> GetPageUser(UserLogGetPageUserParModel pars)
		{
		  
		  var list=_unitOfWork.UserLogRepository.GetPageUser( pars);
		  
		  return list;
		
		}
		
		

}
}
